package com.kkb.merchant.center.api;

import com.github.pagehelper.PageInfo;
import com.kkb.merchant.center.common.dto.OrderCount;
import com.kkb.merchant.center.common.dto.OrderTimeDataDto;
import com.kkb.merchant.center.common.pojo.OrderDelivery;
import com.kkb.merchant.center.common.pojo.OrderItem;
import com.kkb.merchant.center.common.pojo.SubOrderInfo;

import java.util.List;
import java.util.Map;

public interface OrderService {

    PageInfo<SubOrderInfo> queryAll(Long shopId, Integer orderStatus, Integer page, Integer size);

    List<OrderItem> getDetailInfo(Long id);

    OrderDelivery getDeliveryInfo(Long id);

    List<SubOrderInfo> selectAll();


    OrderTimeDataDto orderTimeDate(Long shopId);

    OrderCount getOrderCount(Long shopId);

    Map<String,Object> chartCount(Long shopId);
}
